from textmagic.client import TextMagicClient

def send(mobile, msg):
    client = TextMagicClient('brenden', 'angry2000')
    result = client.send(msg, mobile)
    message_id = result['message_id'].keys()[0]
    response = client.message_status(message_id)
    status = response[message_id]['status']
    if status == 'q':
        return True 
    else:
        return False
